package com.dubbo.provider.service;

import com.dubbo.provider.entity.UserInfo;

public class UserInfoServiceImpl implements UserService {
    private int id;

    @Override
    public String getUser(int id) {
        this.id = id;
        UserInfo userInfo=new UserInfo();
        userInfo.setId(id);
        userInfo.setPhone("110");
        userInfo.setUserName("li");
        return "hello";
    }

    @Override
    public String sayHello(String name) {
        return "hello"+name;
    }
}
